<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="nav.tab.market" default="Market"/></span></a>
<ul>
    <shiro:hasPermission permission="marketType:index">
        <li>
            <a href="${createLink(controller: 'marketType', action : 'index')}"><span><g:message code="marketType.label" default="Type"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="region:index">
        <li>
            <a href="${createLink(controller: 'region', action : 'index')}"><span><g:message code="region.label" default="Region"/></span></a>
        </li>
    </shiro:hasPermission>

    <shiro:hasPermission permission="market:index">
        <li>
            <a href="${createLink(controller: 'market', action : 'index')}"><span><g:message code="market.label" default="Market"/></span></a>
        </li>
    </shiro:hasPermission>

    <li>
        <a href="#" onclick="javascript:none()" class="parent"><span><g:message code="tab.market.price.research.label" default="Price"/></span></a>
        <div>
            <ul>
                <shiro:hasPermission permission="marketPriceResearch:index">
                <li>
                    <a href="${createLink(controller: 'marketPriceResearch', action : 'index')}">
                        <span><g:message code="market.price.research.label" default="Research"/></span>
                    </a>
                </li>
                </shiro:hasPermission>

                <shiro:hasPermission permission="marketPriceApproval:index">
                <li>
                    <a href="${createLink(controller: 'marketPriceApproval', action : 'index')}">
                        <span><g:message code="market.price.approval.label" default="Approval"/></span>
                    </a>
                </li>
                </shiro:hasPermission>

                <shiro:hasPermission permission="marketPriceActual:index">
                <li>
                    <a href="${createLink(controller: 'marketPriceActual', action : 'index')}">
                        <span><g:message code="market.price.actual.label" default="Actual"/></span>
                    </a>
                </li>
                </shiro:hasPermission>

            </ul>
        </div>
    </li>

</ul>
